<?php defined('SYSPATH') or die('No direct script access.');

class Controller_Home extends Controller_Template {

	public function action_index()
	{
		/*$list = file_list(APPPATH);
		foreach($list as $k => $v)
		{
			if (is_dir($k)) continue;
			if (!in_array(fileext($k), array('php','tpl'))) continue;
			$str = 'D:\\Documents\\Desktop\\opencc-1.0.1-win64\\opencc.exe -i "'.addslashes($k).'" -o "'.APPPATH.'/cache/temp.tmp" -c "D:\\Documents\\Desktop\\opencc-1.0.1-win64\\s2t.json"';
			echo exec($str), $k, '<br />';
			rename(APPPATH.'/cache/temp.tmp', $k);
			//break;
		}
		echo 'complete!';
		*/
	}

} // End Welcome
